//
//  ChooseAddressView.h
//  NewChooseAddress
//
//  Created by line0 on 13-4-10.
//  Copyright (c) 2013年 shy. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ChooseAddressViewDelegate <NSObject>

@optional
- (void)chooseProvince:(NSString *)province city:(NSString *)city country:(NSString *)country postcode:(NSString *)postcode;
- (void)chooseAddress:(NSString *)address postcode:(NSString *)postcode;

@end

@interface ChooseAddressView : UIView <UIPickerViewDataSource, UIPickerViewDelegate>

@property (assign, nonatomic) id <ChooseAddressViewDelegate> delegate;

@property (strong, nonatomic) UIPickerView   *pickerView;
@property (strong, nonatomic) UIButton       *cancelBtn;
@property (strong, nonatomic) UIToolbar      *toolBar;

@property (retain, nonatomic) NSMutableArray *provinceArray;
@property (retain, nonatomic) NSMutableArray *cityArray;
@property (retain, nonatomic) NSMutableArray *countyArray;
@property (retain, nonatomic) NSMutableArray *postcodeArray;

@property (retain, nonatomic) NSString *provinceStr;
@property (retain, nonatomic) NSString *cityStr;
@property (retain, nonatomic) NSString *countryStr;
@property (retain, nonatomic) NSString *postcodeStr;

@property (retain, nonatomic) NSString *address;


@end
